<script>
	export default {
		onLaunch: function() {
			// #ifdef APP-PLUS
			// this.updataApp()
			// #endif
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		// 版本检测
		methods: {
			updataApp() {
				let that = this;
				plus.runtime.getProperty(plus.runtime.appid, function(widgetInfo) {
					console.log(widgetInfo, "widgetInfo")
				});
			}
		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
	@import url("@/static/css/free.css");
	@import url("@/static/icon/iconfont.css");
</style>